<template>
	<view class="home-page">
		<u-navbar leftIconColor="#fff" :autoBack="true" :placeholder="true" bgColor="rgba(255,255,255,0.0)">
			<view slot="center" class="nav-title">
				資訊詳情
			</view>
		</u-navbar>
		<view class="content">
			<view class="title">
				强强联合!全国名校联盟正式成立，共赴新征程
			</view>
			<view class="time">
				2025.05.06 新华网
			</view>
			<image class="details-img" src="../../../static/real/photo.png" mode=""></image>
			<view class="text">
				Sarah Stanford, CEO Aspen UK, recently
				spoke at anInsurance insider breakfast
				briefng, where the panelistsdiscussed
				women in the C-Suite and the Path toLeadership.
				The group discussed potentia! barriers andshared
				useful tips and solutions to increase femalerepresentation
				in the board room. Read some of Sarah'sviews below:
			</view>
			<view class="title-text">
				Overcoming Barriers to Women in Executive Roles
			</view>
			<view class="text">
				One of the most persistent barriers is the
				assumption thatwnmen ra mora lilah tn take
				raraar hranle fnr rhildcare
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id: '',
				title:''
			}
		},
		onLoad(options) {
			this.id = options.id
			this.title = options.title
			console.log(this.id)
			this.getdetails()
		},
		methods: {
			getdetails() {
				let params = {
					id: this.id,
					title:this.title
				}
				this.$Request({
					method: 'POST',
					url: '/app-api/promotion/article/get',
					data: params,
					ismsg: false,
				}).then(res => {
					console.log(res)
					if (res.code == 0) {

					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.home-page {
		background-image: url('../../../static/real/home-bg.png');
		background-repeat: no-repeat;
		background-size: 100% 362rpx;
		min-height: 100vh;

		.nav-title {
			color: #fff;
		}

		.content {
			background-color: #fff;
			border-top-right-radius: 30rpx;
			border-top-left-radius: 30rpx;
			padding: 30rpx;
			margin-top: 30rpx;

			.title {
				font-size: 48rpx;
				color: #333333;
				font-weight: bold;
			}

			.time {
				color: #999999;
				font-size: 24rpx;
				margin-top: 30rpx;
			}

			.details-img {
				margin-top: 50rpx;
				width: 100%;
				height: 360rpx;
			}

			.text {
				margin-top: 20rpx;
				color: #666666;
				font-size: 26rpx;
			}

			.title-text {
				margin-top: 20rpx;
				color: #666666;
				font-size: 26rpx;
				font-weight: bold;
			}
		}
	}
</style>